<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

    <title></title>
    [#include "/admin/include/admin_static.htm"]
</head>
<body>
<div class="main_admin_content">
    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
        <legend>修改广告位</legend>
    </fieldset>
    <form name="form1" method="post"
          action="${path}/admin/advert/edit.aspx?id=${PPT.id}">
        <table class="main_edit_table">
            <tr>
                <th colspan="100"><strong>修改幻灯片</strong></th>
            </tr>

            <tr>
                <td>显示顺序：</td>
                <td><select
                        name="dis_order">
                    <option
                   [#if PPT.dis_order==1 ]selected[/#if]
                    value="1">1</option>
                    <option
                    [#if PPT.dis_order==2 ]selected[/#if]
                    value="2">2</option>
                    <option
                    [#if PPT.dis_order==3 ]selected[/#if]
                    value="3">3</option>
                    <option
                    [#if PPT.dis_order==4 ]selected[/#if]
                    value="4">4</option>
                    <option
                    [#if PPT.dis_order==5 ]selected[/#if]
                    value="5">5</option>
                    <option
                    [#if PPT.dis_order==6 ]selected[/#if]
                    value="6">6</option>
                    <option
                    [#if PPT.dis_order==7 ]selected[/#if]
                    value="7">7</option>
                    <option
                    [#if PPT.dis_order==8 ]selected[/#if]
                    value="8">8</option>
                </select>
                </td>
            </tr>

            <tr>
                <td>显示状态：</td>
                <td><select
                        name="is_display">
                    <option
                    [#if PT.is_display==1 ]selected[/#if]
                    value="1">显示</option>
                    <option
                    [#if PPT.is_display==0 ]selected[/#if]
                    value="0">隐藏</option>
                </select>
                </td>
            </tr>

            <tr>
                <td>幻灯片类型：</td>
                <td><select  name="category">

                    <option
                    [#if PPT.category==1]selected[/#if]
                    value="1">公告图片</option>
                [#if PPT.category==2]selected[/#if]
                    value="2">公告图片</option>

                </select>
                </td>
            </tr>

            <tr>
                <td>链接地址：</td>
                <td><input type="text"
                           name="img_link" size="35" value="${PPT.img_link }"/>
                </td>
            </tr>
            <tr>
                <td>图片说明：</td>
                <td><textarea
                        name="explanation" rows="4" cols="30">${PPT.explanation }</textarea>*不得大于20个字符
                </td>
            </tr>
            <tr>
                <td colspan="100" class="btn_td"><input type="submit" name="submit"
                                                        value="确认提交" class="btn_blue large"/> <input
                        class="btn_blue large" type="reset" name="reset" value="重置表单"/>
                </td>
            </tr>
        </table>
    </form>
</div>
</body>
</html>